﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:WpfScheduler="clr-namespace:WpfScheduler;assembly=WpfScheduler" x:Class="CalendarScreenSaver.MainWindow"
        Title="MainWindow" Height="350" Width="800" Loaded="Window_Loaded" KeyUp="Window_KeyUp" Activated="Window_Activated" >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="34*"/>
            <RowDefinition Height="285*"/>
        </Grid.RowDefinitions>

        <WpfScheduler:Scheduler Margin="0,0,0,0" Name="wkScheduler" Grid.Row="1">
            <WpfScheduler:Scheduler.Events>
                <WpfScheduler:Event Subject="Test" Start="2014-02-22" End="2014-02-22"  AllDay="True" Color="Azure"></WpfScheduler:Event>
            </WpfScheduler:Scheduler.Events>
        </WpfScheduler:Scheduler>
        <TextBlock x:Name="tbUsername" HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" Text="User name:" Grid.Row="0" FontSize="14" FontWeight="Bold"/>
        <TextBlock x:Name="tbCalendarName" HorizontalAlignment="Left" Margin="297,10,0,0" TextWrapping="Wrap" Text="Calendar: " Grid.Row="0" FontSize="14" FontWeight="Bold"/>
    </Grid>
</Window>
